<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets">

    <h:body>
        <ui:composition template="WEB-INF/template/master.xhtml">
            
            <ui:define name="header">
                <div data-role="header" data-theme="a" data-position="inline">
                    <h1 align="center">Setup (1 von 3)</h1>
                </div>
            </ui:define>
            
            <ui:define name="content">
                <div data-role="content" data-theme="a">

                    <h2 align="center">Bitte einen Studiengang auswählen</h2>

                    <ui:repeat var="CourseOfStudy" value="#{timetableBean.getCourseOfStudyCollection()}">

                        <a href="semester.xhtml?courseid=#{CourseOfStudy.getIdcourse()}"
                           data-role="button"
                           data-icon="arrow-r"
                           data-iconpos="right">#{CourseOfStudy.getCoursename()}
                        </a>

                    </ui:repeat>
                </div>
            </ui:define>

            <ui:define name="footer">

            </ui:define>
        </ui:composition>
    </h:body>
</html>
